package com.itheima.aop;

import lombok.extern.slf4j.Slf4j;
import org.aspectj.lang.annotation.Before;

/**
 * @Author：武鑫鹏
 * @Project：springboot-aop-quickstart
 * @Date：2024/5/23 15:40
 * @Filename：MyAspect5
 */

// @Component
// @Aspect
@Slf4j
public class MyAspect5 {

    @Before("@annotation(com.itheima.anno.MyLog)")
    public void before() {
        log.info("MyAspect5.before()");
    }
}
